package java_language;

import java.io.IOException;

/**
 * @Author Jun jie Yi
 * 2022/3/21 22:37
 */

public class Demo {
    public static void main(String[] args) throws IOException {

        System.out.println("Demo's ClassLoader is " + Demo.class.getClassLoader());
        System.out.println("The Parent of Demo's ClassLoader is " + Demo.class.getClassLoader().getParent());
        System.out.println("The GrandParent of Demo's ClassLoader is " + Demo.class.getClassLoader().getParent().getParent());

    }
}

